package com.whmskj.xjlhbc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whmskj.xjlhbc.domain.By01MaintenanceSchedule;
import com.whmskj.xjlhbc.domain.Sb11dknittingstationstied;
import com.whmskj.xjlhbc.domain.Sc13dWrotePlannerTable;
import com.whmskj.xjlhbc.domain.SchedulingOfSbbx01MalfunctionRep;
import com.whmskj.xjlhbc.dto.EquipmentGroupDTO;
import com.whmskj.xjlhbc.dto.JtQueryDto;
import com.whmskj.xjlhbc.dto.ZjktQueryDto;
import com.whmskj.xjlhbc.vo.GzinfoRecordVo;
import com.whmskj.xjlhbc.vo.WbInfoRecordVo;

import java.util.List;
import java.util.Map;

public interface ISb11dknittingstationstiedService extends IService<Sb11dknittingstationstied> {

    List<Sb11dknittingstationstied> queryList(String id, String date);

    List<Sc13dWrotePlannerTable> zjktList(ZjktQueryDto param);

    List<By01MaintenanceSchedule> wbList(JtQueryDto param);

    List<SchedulingOfSbbx01MalfunctionRep> gzList(JtQueryDto param);

    boolean addWb(By01MaintenanceSchedule body);

    boolean addGz(SchedulingOfSbbx01MalfunctionRep body);

    boolean addWbTemp(By01MaintenanceSchedule body);

    boolean addGzTemp(SchedulingOfSbbx01MalfunctionRep body);

    By01MaintenanceSchedule getWb(String jth);

    SchedulingOfSbbx01MalfunctionRep getGz(String jth);

    Map<String,Object> wbtj(String startTime, String endTime, String workshopId);

    Map<String,Object> gztj(String startTime, String endTime, String workshop);

    /**
     * 维保详情记录
     * @param id
     * @return
     */
    WbInfoRecordVo wbinfoRecord(Integer id);

    /**
     * 故障详情记录
     * @param id
     * @return
     */
    GzinfoRecordVo gzinfoRecord(Integer id);

    List<EquipmentGroupDTO> getEquipmentByWorkshop(String workshop);
    List<EquipmentGroupDTO> getEquipmentByWorkshops(List<String> workshops);

    Object pzkt();
    Object pzktDetail(String noNo);
    Object lzyc();

}
